//Aufgabe:
//Guvf zrffntr vf rapelcgrq va ebg 13. Lbhe nafjre vf svfupnxr.

def input = 'Guvf zrffntr vf rapelcgrq va ebg 13. Lbhe nafjre vf svfupnxr'.toLowerCase()

//Notizen:
//0123456789

def abc = [:]
'abcdefghijklmnopqrstuvwxyz'.eachWithIndex { letter, i ->
	abc[letter] = ++i
}
abc += [27:' ']

def inputIndex = [:]
def inputWithIndex = input.eachWithIndex { letter, i ->
	 inputIndex[letter] = 'abcdefghijklmnopqrstuvwxyz'.findIndexOf { 
		 it == (char) letter 
	 }
}

println abc
println inputIndex



/*
def html = new groovy.xml.MarkupBuilder().html {
	table(border:'1') {
		tr {
			'abcdefghijklmnopqrstuvwxyz'.eachWithIndex { letter, i -> 
				td(i) {}
			}
		}
		tr {
			'abcdefghijklmnopqrstuvwxyz'.eachWithIndex { letter, i ->
				td(letter) {}	
			}
		}
	}
}
*/